//
//  TourModel.h
//  EasyToTesco2.0
//
//  Created by knew on 2017/5/3.
//  Copyright © 2017年 EasyToTesco. All rights reserved.
//

#import <JSONModel/JSONModel.h>


#pragma mark -

@interface TourSellOrderModel : JSONModel

@property (nonatomic,copy)NSString *about;

@property (nonatomic,copy)NSString *title;

@property (nonatomic,copy)NSString *market_price;

@property (nonatomic,copy)NSString *yile_price;

@property (nonatomic,copy)NSString *picurl;

@end

#pragma  mark -
@interface TourProductsModel : JSONModel
/*
 "id": 357740,
 "title": "丽水 遂昌 神龙谷 门票 亿乐GO专享折扣",
 "market_price": "80",
 "yile_price": "70"
 */
@property (nonatomic,copy)NSString *replaceID;
@property (nonatomic,copy)NSString *title;
@property (nonatomic,copy)NSString *market_price;
@property (nonatomic,copy)NSString *yile_price;

@end

@interface TourDetailModel : JSONModel
/*
 "id": 5052,
 "title": "杭州西湖",
 "phone": "05788152555",
 "address": "浙江省杭州市市中心西湖风景区名胜区",
 "sdpic": "https://source.ylgw8.com/data/seller/20170102/5869f8df54477.jpg",
 "description": "西湖，位于浙江省杭州市西面，是中国大陆首批国家重点风景名胜区和中国十大风景名胜之一。它是中国大陆主要的观赏性淡水湖泊之一，也是现今《世界遗产名录》中少数几个和中国唯一一个湖泊类文化遗产。",
 "seller_username": "05788152555",
 */
@property (nonatomic,copy)NSString *replaceID;
@property (nonatomic,copy)NSString *title;
@property (nonatomic,copy)NSString *phone;
@property (nonatomic,copy)NSString *address;
@property (nonatomic,copy)NSString *sdpic;
@property (nonatomic,copy)NSString *seller_username;
@property (nonatomic,copy)NSString *detail;
@property (nonatomic,strong)NSArray <TourProductsModel *>*products;

@end

@interface TourModel : JSONModel

@property (nonatomic,copy)NSString *replaceID;
@property (nonatomic,copy)NSString *title;
@property (nonatomic,copy)NSString *phone;
@property (nonatomic,copy)NSString *address;
@property (nonatomic,copy)NSString <Optional>*sdpic;
@property (nonatomic,copy)NSString <Optional>*details;

@end
